package com.ruoyi.SuveryInterface.Imp.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.SuveryInterface.Imp.domain.SysShareholderInfos;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-03
 */
public interface SysShareholderInfosMapper extends BaseMapper<SysShareholderInfos> {

    void insertSysShareholder(@Param("shareholderInfos") List<JSONObject> shareholderInfos);

    List<SysShareholderInfos> selectSysShareholderInfosByCommercialId(Long commercialId);

    void insertBatchSysShareholderInfos(@Param("newShareholderInfosList") List<SysShareholderInfos> newShareholderInfosList);
}
